home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / www / cern / doc / www-talk.archive.Z / www-talk.archive / text0353.txt < prev    next >
Encoding:
Text File  |  1992-11-30  |  1.7 KB  |  55 lines

  1.  
  2. >(1) Has anyone done work wrt adding real data (in whatever format) to
  3. >    www?
  4.  
  5. No, but I think there's some stuff on gopher and WAIS servers that
  6. you might be able to get at.
  7.  
  8. >(2) Is there a consensus on supporting MIME in HTML and vice versa?
  9.  
  10. There's a growing consensus.
  11.  
  12. The strategy isn't to shoehorn MIME inside HTML, though we are
  13. shoehorning HTML inside MIME, i.e. there will soon be a text/html
  14. MIME content type.
  15.  
  16. The strategy is to treat the current data format as a special case of
  17. the more general MIME body part scheme.  Currently, www clients expect
  18. text/html or text/plain body parts, and it uses things like filename
  19. suffixes to tell the difference. If you point www at
  20.  
  21. ftp://ftp.ora.com/pub/davenport/Xhelp/Xhelp_Sept_11.ps
  22.  
  23. It will gladly fill your screen with unintelligible postscript code.
  24.  
  25. The strategy is that WWW clients will be able to negotiate various
  26. formats with servers, and the client will know what format the
  27. data is in before it comes over the wire. The other MIME types
  28. will be alternatives to text/html, not enclosures within it.
  29.  
  30. For protocols like FTP, we need to have type information in
  31. the links, like:
  32.  
  33. <a HREF="ftp://info.cern.ch/pub/www/NextBrowser.tiff"
  34.     type="image/x-tiff">The NeXT browser in action</a>
  35.  
  36. the the client would know better than to try to display the
  37. contents of the tiff file in a text window. The easiest thing
  38. to do is to pass it off to
  39.  
  40. % metamail -b -c "image/x-tiff" /tmp/www_ftp.4322
  41.  
  42. and let metamail to the rest.
  43.  
  44. For WAIS, the type information is in the protocol. For gopher, it
  45. mostly is. For HTTP, the client and the server are supposed to
  46. negotiate the format based on compute resources required for the
  47. conversion, network transmission time, distortion/loss of data,
  48. etc.
  49.  
  50. That's my two cents, anyway.
  51.  
  52. Dan
  53.  
  54.  
  55.